package com.cartoonrabbit.service;

import com.cartoonrabbit.pojo.RechargeOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cartoonrabbit.vo.RespBean;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LiuTeng
 * @since 2023-01-09
 */
public interface IRechargeOrderService extends IService<RechargeOrder> {

    RespBean doPrePay(Long money, String openId) throws Exception;

    RespBean doNotify(String orderId, Integer status, String openId);

    RespBean getRechargeOrderList(Integer currentPage, Integer size, String name);
}
